package bridge;

import java.sql.Driver;

/**
 * @author shenhan
 * @create 2020/3/26 17:39
 * @description
 */
public class Client {
    public static void main(String[] args) {
        final FoldedPhone foldedPhone = new FoldedPhone(new XiaoMi());
        foldedPhone.call();
        foldedPhone.close();
        foldedPhone.open();
        System.out.println("=======================");
        final UpRightPhone upRightPhone = new UpRightPhone(new Vivo());
        upRightPhone.call();
        upRightPhone.close();
        upRightPhone.open();
    }
}
